<!--
 * @Author: cheung0
 * @Date: 2021-11-20 10:12:50
-->
<template>
  <el-row class="home" :getter="20">
    <el-col :span="6" style="margin-top: 20px">
      <el-card shadow="hover">
        <div class="user">
          <img :src="userImg" style="width: 200px" />
          <div class="userinfo">
            <p class="name">Admin</p>
            <p class="access">超级管理员</p>
          </div>
        </div>
        <div class="login-info">
          <p>上次登录时间：<span>2021-11-20</span></p>
          <p>上次登录地点：<span>南京</span></p>
        </div>
      </el-card>
    </el-col>
  </el-row>
</template>

<script>
export default {
  name: "Home",
  data() {
    return {
      userImg: require("@/assets/avatar.jpg"),
    };
  },
};
</script>

<style>
</style>
